//
//  ViewController6.m
//  someDemo
//
//  Created by Reinhard-X on 2016/12/5.
//  Copyright © 2016年 上官惠阳. All rights reserved.
//

#import "ViewController6.h"

@interface ViewController6 ()<UIWebViewDelegate>

@end

@implementation ViewController6

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    CGFloat screenWidth = [UIScreen mainScreen].bounds.size.width;
    CGFloat screenHeigth = [UIScreen mainScreen].bounds.size.height;
    webView = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, screenWidth, screenHeigth)];
    NSURLRequest *request =[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.bzb999.com"]];
    [self.view addSubview: webView];
    [webView loadRequest:request];  }

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
